package com.hw.backapi.event;

import com.hw.model.entity.AdminLogPO;
import org.springframework.context.ApplicationEvent;

/**
 * @author lipeng
 * @description 日志事件
 * @date 2023/3/7 10:29
 */
public class LogEvent extends ApplicationEvent {

    private AdminLogPO adminlog;

    public LogEvent(Object source) {
        super(source);
        this.adminlog = (AdminLogPO) source;
    }

    public AdminLogPO getAdminlog() {
        return adminlog;
    }
}
